* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background: #f5f5f5;
    min-height: 100vh;
    overflow-x: hidden;
}

.header {
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #333;
    padding: 90px 20px 0;
    overflow: hidden;
}

.background-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background: url('../imgs/indexbackground.png') no-repeat center center;
    background-size: cover;
    transform: scale(1.1);
    animation: zoomBackground 20s infinite alternate ease-in-out;
}

@keyframes zoomBackground {
    0% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1.2);
    }
}

.background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(28, 28, 28, 0.75) 0%,
        rgba(45, 45, 45, 0.65) 100%
    );
    backdrop-filter: blur(1px);
}

.header-content {
    position: relative;
    z-index: 2;
    padding: 70px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.2),
        0 2px 4px rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    animation: fadeIn 1.5s ease-out;
    max-width: 800px;
    width: 90%;
    transform: perspective(1000px) rotateX(0deg);
    transition: transform 0.5s ease;
}

.header-content:hover {
    transform: perspective(1000px) rotateX(2deg);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.title {
    font-size: 4em;
    margin-bottom: 30px;
    color: #ffffff;
    font-weight: 300;
    letter-spacing: 12px;
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.8), transparent);
}

.slogan {
    font-size: 2em;
    color: #e0e0e0;
    margin-bottom: 25px;
    font-weight: 300;
    letter-spacing: 6px;
    opacity: 0;
    animation: slideUp 0.8s ease forwards 0.5s;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.sub-slogan {
    font-size: 1.2em;
    color: #cccccc;
    margin-bottom: 50px;
    letter-spacing: 3px;
    line-height: 1.8;
    opacity: 0;
    animation: slideUp 0.8s ease forwards 0.8s;
}

.cta-button {
    background: transparent;
    color: #ffffff;
    padding: 1rem 3rem;
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 30px;
    font-size: 1.1em;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-block;
    letter-spacing: 3px;
    position: relative;
    overflow: hidden;
    opacity: 0;
    animation: slideUp 0.8s ease forwards 1.1s;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.cta-button:hover {
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.8);
}

.cta-button:hover::before {
    left: 0;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px) perspective(1000px) rotateX(10deg);
    }
    to {
        opacity: 1;
        transform: translateY(0) perspective(1000px) rotateX(0deg);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .header-content {
        padding: 40px 25px;
    }
    
    .title {
        font-size: 2.8em;
        letter-spacing: 8px;
    }
    
    .slogan {
        font-size: 1.6em;
        letter-spacing: 4px;
    }
    
    .sub-slogan {
        font-size: 1.1em;
        letter-spacing: 2px;
        margin-bottom: 40px;
    }
    
    .cta-button {
        padding: 0.9rem 2.5rem;
        font-size: 1em;
    }
} 